<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>我的电子证书网站</title>
    <link href="../css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body { background-color: transparent }
    </style>
</head>

<body>
<div id="app">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td align="center" bgcolor="#1c7cc1"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="175" align="left"><a href="../index.html" target="_parent"><img src="../images/logo.png" width="175" height="59" /></a></td>
                <td width="518" align="left"><table width="500" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30" align="center" class="bai-16"><a href="../index.html" class="bai" target="_parent">首页</a></td>
                        <td align="center" class="bai-16"><a href="../js.html" class="bai" target="_parent">产品介绍</a></td>
                        <td align="center" class="bai-16"><a href="#" class="bai">溯源认证</a></td>
                        <td align="center" class="bai-16"><a href="../modelList.html" class="bai" target="_parent">奖状查询</a></td>
                        <td align="center" class="bai-16"><a href="../nei.html" class="bai" target="_parent">帮助中心</a></td>
                    </tr>
                </table></td>
                <td width="307" align="right"><table width="120" border="0" cellspacing="2" cellpadding="0">
                    <tr>
                        <td width="120" align="right"><span class="bai-14">
                            <a v-if="!isLogin" href="../dl.html" class="bai" target="_parent">登录</a>
                            <a v-if="isLogin" href="../hou.html" class="bai" target="_parent">{{name}}</a>
                            <span> | </span>
                            <a href="http://www.51dzzs.com/admin/#/login" class="bai" target="_blank">机构登录</a>
                        </span></td>
                    </tr>
                </table></td>
            </tr>
        </table></td>
    </tr>
</table>
</div>
<script src='https://unpkg.com/vue@2.0.5/dist/vue.js'></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script>
    new Vue({
        el: '#app',
        data: {
            isLogin: false,
            name: ''
        },
        mounted() {
            if (Cookies.get('member')) {
                var member = JSON.parse(Cookies.get('member'));
                this.isLogin = false;
                if (member && member != null && member != '') {
                    this.isLogin = true;
                    this.name = member.realname;
                }
            }
        },
        methods: {}
    });
</script>
</body>
</html>
